$OpenBSD: patch-src_openssl_stream_h,v 1.1 2017/04/14 18:27:21 jasper Exp $

Fix build with LibreSSL
https://github.com/libgit2/libgit2/pull/4043

--- src/openssl_stream.h.orig	Mon Jan  9 21:26:45 2017
+++ src/openssl_stream.h	Fri Apr 14 20:19:10 2017
@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_stream **out, co
 
 
 
-# if OPENSSL_VERSION_NUMBER < 0x10100000L
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
 
 GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
 {
